package com.woniuxy.demo.epai.dao;

import com.woniuxy.demo.epai.model.Members;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.demo.epai.model.ProductRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author epai
 * @since 2021-04-12
 */

public interface MembersMapper extends BaseMapper<Members> {

    @Select("select * from e_members where uid=#{id}")
    Members findByUid(int id);
}
